//
//  ASHomeBannerView.h
//  AvatarShow
//
//  Created by xunruiIOS on 2021/4/27.
//

#import <UIKit/UIKit.h>
#import "EllipsePageControl.h"

NS_ASSUME_NONNULL_BEGIN

static NSTimeInterval const kTimeInterval = 2.0;

@interface ASHomeBannerView : UIView

<UICollectionViewDelegate,UICollectionViewDataSource,EllipsePageControlDelegate>

@property (strong, nonatomic) UICollectionView *collectionView;
@property (strong, nonatomic) NSTimer *timer;
@property (assign, nonatomic) NSInteger currentPage;
@property (strong, nonatomic) EllipsePageControl * pageCon;
@property (nonatomic, strong) NSArray *dataSource;          ///顶部轮播数据
@property (assign, nonatomic) CGFloat scrollHeight;

@end

NS_ASSUME_NONNULL_END
